package com.heima.search.service;


import com.heima.model.common.dtos.ResponseResult;

/**
 * @Author Lijx
 * @Date 2024-07-30 10:45
 */
public interface HistorySearchService {

    //保存用户搜索的关键词
    void saveSearchWords(String searchWords, Integer userId);

    //加载搜索记录列表
    ResponseResult searchWords();

    //删除搜索记录
    ResponseResult deleteHistoryWords(String id);
}
